<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/template.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<title>Eproject | Autocar</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/coin-slider.css" />
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/cufon-georgia.js"></script>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/coin-slider.min.js"></script>
<script>
	function SearchForm(f) {
				if(document.getElementsByName('txtSearch')[0].value=='') {
					document.getElementsByName('txtSearch')[0].focus();
            		return false;
				}
				return true;
		}
</script>
</head>

<body>
<?php
	if($_REQUEST['btnSearch']){
		$name=$_REQUEST['txtSearch'];
		$searchby=$_REQUEST['company'];
		if($_REQUEST['btnSearch']){
			echo("<script>window.location='searchresult.php?name=$name&&by=$searchby'</script>");										        }	
	}
?>
<div class="main">
  <div class="header">
    <div class="header_resize">
      <div class="menu_nav">
        <ul>
          <li><a href="Home.php"><span>Home Page</span></a></li>
          <li><a href="news.php"><span>News</span></a></li>
          <li><a href="cars.php"><span>Cars</span></a></li>
          <li><a href="companies.php"><span>Provider</span></a></li>
          <li><a href="contactus.php"><span>Contact Us</span></a></li>
        </ul>
        <div class="search">
        	<form name="searchForm" enctype="multipart/form-data" method="post" action="" >
                <input type="text" name="txtSearch" class="txtSearch" />
                <select name="company" class="cbbSearch">
                    <option value="0">By Name</option>
                    <option value="1">By Manufacturers</option>                        
                </select>
                <input type="submit" value="Search" name="btnSearch" class="btnSearch" />
            </form>
      	</div>
      </div>
      
      <div class="logo">
        <h1><a href="index.html">A<span>uto</span>Shop</a></h1>
        
      </div>
      
      <div class="clr"></div>
    </div>
  </div>
  <div class="content">
    <div class="content_resize"><!-- InstanceBeginEditable name="content" -->
	<style>
		.textContact{
			font-size:18px;				
			color:#666;
			margin:auto;
		}
    </style>
      <div class="mainbar">
            <div>
            	 <img src="images/contact.png" title="image" style="width:620px;height:400px"/>
            </div>
            <div style="margin-top:10px">
            	<span class="textContact">Project : Auto Shop Online</span><br/>
             	<span class="textContact">Create by : A0910G - Group 2</span><br/>
              	<span class="textContact">School : Ha Noi - Aptech</span>
            </div>
      </div>
    <!-- InstanceEndEditable --><!-- InstanceBeginEditable name="rightmenu" -->
    <div class="sidebar">
      <div class="searchform"></div>
      <div class="clr"></div>
      
      <div class="gadget">
        <h2 class="star"><span>Hot</span> Cars</h2>
        <div class="clr" style="height:150px; border:1px solid #960"><img style="height:150px;width:240px" src="images/hotcar1.jpg" style="border: none;"  /></div>
        <div class="clr" style="height:150px;margin-top:10px; border:1px solid #960"><img style="height:150px;width:240px" src="images/hotcar2.jpg" style="border: none;"  /></div>
        <div class="clr" style="height:150px;margin-top:10px; border:1px solid #960"><img style="height:150px;width:240px" src="images/hotcar3.jpg" style="border: none;"  /></div>
        <div class="clr"></div>
      </div>
      <div class="gadget">
        <h2 class="star"><span>Soports</span></h2>
        <div class="clr">
        
			<script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>
            <a href="skype:minhthang.one?call"><img src="http://mystatus.skype.com/bigclassic/minhthang.one" style="border: none;"  />		</a>
            <a href="skype:minhthang.one?call"><img src="http://mystatus.skype.com/bigclassic/minhthang.one" style="border: none;"  />		</a>
            <a href="skype:minhthang.one?call"><img src="http://mystatus.skype.com/bigclassic/minhthang.one" style="border: none;"  />		</a>
        </div>
        <ul class="ex_menu">
          <li></li>
        </ul>
      </div>
    </div>
    <!-- InstanceEndEditable -->
    <div class="clr"></div>
    </div>
  </div>
  <div class="fbg">
    <div class="fbg_resize">
    School: Hanoi-Aptech</br>
    Class: A0910G - Group 2</br>
    Project Name: AutoShop
      <div class="clr"></div>
    </div>
  </div>
  <div class="footer">
    <div class="footer_resize">
      <div style="clear:both;"></div>
    </div>
  </div>
</div>
</body>
<!-- InstanceEnd --></html>
